#ifndef H_RCGD_LMU_H
#define H_RCGD_LMU_H

#define	LMU_STATUS_NONE	110
#define	LMU_STATUS_SET	111
#define	LMU_STATUS_RUN	112


#define LMU_LOCKED		0
#define LMU_UNLOCKED	1

typedef struct{

	char	TASK;
	char	LockCheck;

	int		IntervalCounter;

	time_	time;

	char	STATUS;
	char	rxflag;
	int		RxCounter;
	int 	RxCheckCounter;

	int		UnlockedCounter;
	int		UnlockedDelayCounter;
	int		LockedCounter;

	int raw_count_all;
	int	raw_digit_all;
	int prev_raw_digit_all;

	int enable_counter;
	int disable_counter;
	int skip_counter;

	char LOCKMODE;


} lmu_;

extern lmu_	lmu;
extern void DecodeLMUIn(BYTE *buffer,int *Counter);
extern void Init_LMU();
extern void LMU_task();

#endif
